class Apple:
    def __init__(self, color, weight):
        self.color = color
        self.weight = weight
    def __repr__(self):
        return 'Apple[Color='+self.color+',weight='+self.weight+']'
apple=Apple("red","350g")
print(apple)